//
//  SelectQuestion.h
//  QuizMaster
//
//  Created by Jeppe Nielsen on 3/23/15.
//  Copyright (c) 2015 Jeppe Nielsen. All rights reserved.
//

#pragma once

#include "GameState.hpp"
#include "Game.hpp"
#include "SelectQuestionSystem.hpp"
#include "TransformAnimation.hpp"

class SelectQuestion : public GameState<Game> {
protected:
    void Initialize();
    void Update(float dt);
    void Render();
    void Enabled();
    void Disabled();
private:
    SelectQuestionSystem* selectQuestionSystem;
    void QuestionSelected(GameObject* selectionQuestion);
    TransformAnimation animation;
    float timer;
    bool timerRunning;
    
    GameObject* currentPlayer;
    GameObject* currentPlayerLabel;
    
    GameObject* showScoresButton;
    
    void ShowScoresButtonClicked(TouchData d);
    
};